<template>
	<view class="content">
		{{time.data}}
		<myCalendar @func="getDay"></myCalendar>
	</view>
</template>

<script>
	import myCalendar from '@/components/myCalendar/index.vue'
	export default {
		data() {
			return {
				time: {
					data:"",
					isTrue:false
				}
			}
		},
		components: {
			myCalendar
		},
		onLoad() {

		},
		methods: {
			getDay(data) {
				this.time = data;
			},
		}
	}
</script>

<style>
	.content {
		width: 100%;
		text-align: center;
	}
</style>
